/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package SessionBeans;

import EntityBeans.Client;
import EntityBeans.OrderProduct;
import java.util.List;
import javax.ejb.Local;

/**
 *
 * @author Pierre
 */
@Local
public interface OrderProductFacadeLocal {

    void create(OrderProduct orderProduct);

    void edit(OrderProduct orderProduct);

    void remove(OrderProduct orderProduct);

    OrderProduct find(Object id);

    List<OrderProduct> findAll();

    List<OrderProduct> findRange(int[] range);

    int count();
    
    int findLastOrder(Client client);
    
    OrderProduct findByID(int id);
    
}
